package com.seaboxdata.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.seaboxdata.entity.AccessJob;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface AccessJobDao extends BaseMapper<AccessJob> {

    @DS("accessDatasource")
    List<AccessJob> getAllAccess(@Param("beginDate") Date beginDate,@Param("endDate") Date endDate);
}
